
<%@page import="java.util.List"%>
<%@page import="java.util.Iterator"%>
<%-- 
    Document   : classify
    Created on : Mar 9, 2012, 11:25:56 AM
    Author     : lsf
--%>



<div id="indexRightColumn">

    <h2>Step 3- Classify Documents</h2> 
    <h3>Document Name {}</h3>
    <div class="classifyContainer">
        <div class="classificationTerm">

            Classification <select name="TaxonomyTerm" id="taxo">
                <%Iterator itr;%>
                <% List data = (List) request.getAttribute("taxoterm");
                    for (itr = data.iterator(); itr.hasNext();) {
                %>
                <option><%=itr.next()%></option>


                <%}%>


            </select>

        </div><br/><br/>


        <div class="phraseBox3">
            <table cellpadding="0" cellspacing="0" border="1" width="100%">
                <thead>
                    <tr class="head">

                        <th width="90%">Phrase</th>
                        <th width="10%">Score</th>
                    </tr>
                </thead>
                <tbody>
                    <%Iterator itr1;%>
                    <% List data1 = (List) request.getAttribute("phrasescore");
                        for (itr1 = data1.iterator(); itr1.hasNext();) {
                    %>
    <!--                <option><%//=itr.next()%></option>-->
                    <tr class="${((1 % 2)==0) ? 'white':'lightBlue'}">
                        <td width="90%"><%=itr1.next()%></td>
                        <td width="10%"><%=itr1.next()%></td>

                    </tr>

                    <%}%>


                </tbody>
            </table>

        <br/><br/>    <div class="buttonPos">
                <a href="topkphrases">
                    <input type="submit" value="Back" name="back" />
                </a>
                Classify Document
                <a href="markwithfibo">
                    <input type="submit" value="Next" name="next" />
                </a>
            </div>
        </div>



    </div>




</div>